package com.Cychat.commons.entity.pojo;


import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;

@Data
@TableName("appointment")
public class Appointment {
    @Schema(description="预约ID")
    @TableId(value = "appointment_id", type = IdType.AUTO)
    private Integer appointmentId;
    @Schema(description="宠物ID")
    private Integer petId;
    @Schema(description="宠物主人ID")
    private Integer ownerId;
    @Schema(description="医生ID")
    private Integer doctorId;
    @Schema(description="医院ID")
    private Integer hospitalId;
    @Schema(description="预约就诊日期")
    private Date appointmentDate;
    @Schema(description="预约就诊时间")
    private Date appointmentTime;
    @Schema(description="症状描述")
    private String symptom;
    @Schema(description="预约状态，0为待确认，1为已确认，2为已取消，3为已完成")
    private Integer status;
    @Schema(description="创建时间")
    private Date createTime;
    @Schema(description="修改时间")
    private Date updateTime;
}